//
//  AllTravel.m
//  艾听歌
//
//  Created by dllo on 16/5/18.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "AllTravel.h"


@implementation AllTravel


- (void)setProducts:(NSMutableArray *)products
{
    _products = products;
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in products) {
        Product *Pmodel = [[Product alloc] init];
        [Pmodel setValuesForKeysWithDictionary:dic];
        [array addObject:Pmodel];
    }
    _products = [NSMutableArray arrayWithArray:array];
}


@end
